package com.heatup.apt.model.channer;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotations.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 *
 * 课程表更新记录
 *
 */
@TableName("course_notice_info")
public class CourseNoticeInfo implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/** 主键ID */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/** 标题 */
	private String title;

	/** 上课地点 */
	private String storeids;

	/** 发送时间 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
	private Date sendtime;

	/** 1:未开始 2：发送中 3：已完成 */
	@TableField(value = "send_flag")
	private Integer sendFlag;

	/** 最后更新人 */
	@TableField(value = "update_by")
	private Integer updateBy;

	/** 最后更新时间 */
	@TableField(value = "update_time")
	private Date updateTime;

	/** 创建人 */
	@TableField(value = "create_by")
	private Integer createBy;

	/** 创建时间 */
	@TableField(value = "create_time")
	private Date createTime;
	/**
	 * 创建人
	 */
	@TableField(exist = false)
	private String createPersonName;
	/**
	 * 发送状态
	 * @return
	 */
	public String getCreatePersonName() {
		return createPersonName;
	}

	public void setCreatePersonName(String createPersonName) {
		this.createPersonName = createPersonName;
	}

	public String getSendTypeName() {
		return sendTypeName;
	}

	public void setSendTypeName(String sendTypeName) {
		this.sendTypeName = sendTypeName;
	}

	@TableField(exist = false)
	private String sendTypeName;

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getStoreids() {
		return this.storeids;
	}

	public void setStoreids(String storeids) {
		this.storeids = storeids;
	}

	public Date getSendtime() {
		return this.sendtime;
	}

	public void setSendtime(Date sendtime) {
		this.sendtime = sendtime;
	}

	public Integer getSendFlag() {
		return this.sendFlag;
	}

	public void setSendFlag(Integer sendFlag) {
		this.sendFlag = sendFlag;
	}

	public Integer getUpdateBy() {
		return this.updateBy;
	}

	public void setUpdateBy(Integer updateBy) {
		this.updateBy = updateBy;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getCreateBy() {
		return this.createBy;
	}

	public void setCreateBy(Integer createBy) {
		this.createBy = createBy;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

}
